use std::fs;
use serde_json::{Result, Value};

pub fn parse_config(config_path: &str) -> Value {
    let ctx = fs::read_to_string(config_path)
        .expect("Failed to read");
    serde_json::from_str(&ctx).unwrap()
}
